<?php
namespace Home\Model;
use Think\Model;
class JobModel extends Model{

	public function addJob($data){
		$data['create_time']=time();
		$data['updata_time']=time();

		return $this->add($data);
	}
	//散工首页列表
	public function jobLists(){
		



		return $this->select();

	}

	//查询
	public function getJobById($id){
		return $this->where("id = '{$id}'")->find();
	}



}